let a = {name: "zhangsan", age: 11,students: [{name: "z3", age: 22}, {name: "z2", age: 23}]};
let b = {name: "lisi", id: 33, students: [{name: "z1", age: 22}, {name: "z2", age: 23}]};

Object.assign(a,b);
// console.dir(a)

Object.seal(a);
a.name="w5";
console.log(a)
Object.freeze(a);
a.name="z6";
console.dir(a)